import {createRouter, createWebHashHistory} from 'vue-router'
import HomeView from '../views/HomeView.vue'

const routes= [
  {
    path: '/',
    name: 'home',
    component: HomeView
  },
  {
    path: '/message',
    name: 'message',
    component: () => import(/* webpackChunkName: "about" */ '../views/Message.vue')
  },
  {
    path: '/test',
    name: 'test',
    component: () => import(/* webpackChunkName: "about" */ '../views/Test.vue')
  },
  {
    path: '/detail',
    name: 'detail',
    component: () => import(/* webpackChunkName: "about" */ '../views/ArticleDetail.vue')
  },
  {
    path: '/article',
    name: 'article',
    component: () => import(/* webpackChunkName: "about" */ '../views/TestMD.vue'),
    meta:{
      shovalues:true
    }
  },
  {
    path: '/personal',
    name: 'personal',
    component: () => import(/* webpackChunkName: "about" */ '../views/PersonalSpace.vue')
  },
  {
    path: '/articlecategory',
    name: 'category',
    component: () => import(/* webpackChunkName: "about" */ '../views/ArticleCategotry.vue')
  },
  {
    path: '/testMD',
    name: 'testMD',
    component: () => import(/* webpackChunkName: "about" */ '../views/ArticleCreate.vue'),
    meta:{
      shovalues:true
    }
  },


]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router